"""
两个数据库的连接配置
"""
#cgtw： 连接cgtw数据库
CGTW = {'database':'cgtw','host':'192.168.1.234','user':'timeaxis',
        'password':'timeaxis','port':5432,'api_port':8383}

#cgtw_login : 用来登陆cgtw获取token
CGTW_LOGIN = {'account':'TD_machine','password':'timeaxis',
              'controller':'c_token','method':'login','client_type':'py'}

#schedule :连接排期数据库
# schedule = {'database':'forclear','host':'192.168.53.20','user':'postgres','password':'timeaxis','port':5432}
SCHEDULER = {'database':'scheduler','host':'192.168.1.222','user':'timeaxis','password':'timeaxis','port':5432}


#ad : 广告栏数据库r
AD = {'database':'ad','host':'192.168.1.222','user':'timeaxis','password':'timeaxis','port':5432}


#TG:taskprogress 任务进度统计
TG = {'database':'taskprogress','host':'192.168.1.222','user':'timeaxis','password':'timeaxis','port':5432}

#central_storage
CS = {'database':'postproduction','host':'192.168.1.53','user':'timeaxis','password':'timeaxis','port':5432}
